#ifndef SERVER_NETWORK_MANAGER_H
#define SERVER_NETWORK_MANAGER_H

#include "NetworkManager.h"

class ServerNetworkManager : public NetworkManager
{
public:
	ServerNetworkManager(void);
	virtual ~ServerNetworkManager(void);

	virtual void Init(void);
	virtual void Shutdown(void);

	void SendToClient(Packet* packet);

	bool ClientConnected(void);

private:
	static void ListenThread(ServerNetworkManager& mgr);

	HANDLE	m_listenThread;
	SOCKET	m_clientSocket; // as long as this gonna be 2 players only
};
#endif